package org.ly.sys.bean;

import lombok.Data;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.util.Date;

/**
* 用户表
*/
@Data
@Table("sys_user")
public class User {

	/**
	 * 用户表id
	 */
	@Id
	@Column("user_Id")
	private Integer userId;
	/**
	 * 登录用户名
            
	 */
	@Column("name")
	private String name;
	/**
	 * 登录密码
	 */
	@Column("password")
	private String password;
	/**
	 * 最后登录时间
	 */
	@Column("zuihoudengl")
	private Date zuihoudengl;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getZuihoudengl() {
        return zuihoudengl;
    }

    public void setZuihoudengl(Date zuihoudengl) {
        this.zuihoudengl = zuihoudengl;
    }
}